// 自定义指令主要是为了重用涉及普通元素的底层 DOM 访问的逻辑。
import { App } from "vue"
import Contextmenu from './contextmenu'
import ClickOutside from "./clickOutside"

export default {
  install(app: App) {
    app.directive('contextmenu', Contextmenu)
    app.directive('click-outside', ClickOutside)
  }
}
